let mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/provinces', function (err) {
    if (err) {
        console.log(err, "数据库连接失败");
        return;
    }
    console.log('数据库连接成功');
});

